import request from '/@/utils/request';

export const getProcessTemplateApi = (params?: object) => {
	return request({
		url: '/FlowCenter/flcFlowscheme/list',
		method: 'get',
		params: params,
	});
};

// 获取员工信息 user
export const getQueryPageList = (params?: object) => {
	return request({
		url: '/sysUser/page',
		method: 'get',
		params,
	});
};
// 获取组织 user
export const getSysOrgTreeList = (params?: object) => {
	return request({
		url: '/sysOrg/tree',
		method: 'get',
		params,
	});
};
// 获取角色 role
export const getSysRolePage = (params?: object) => {
	return request({
		url: '/sysRole/page',
		method: 'get',
		params,
	});
};